﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;



namespace _02CardLib
{
    public class Card
    {
        public readonly Rank rank;
        public readonly Suit suit;
        public override string ToString() => "the " + rank + "of " + suit + ".\n";

        public Card() { }
        public Card(Suit suitVal, Rank rankVal) => (rank, suit) = (rankVal, suitVal);
        public void CardDeconstruct(out Suit suitVal, out Rank rankVal) => (rankVal, suitVal) = (rank, suit);
    }
}
